home *** CD-ROM | disk | FTP | other *** search
/ Game.EXE 2001 January / Game.EXE_01_2001.iso / demos / Blade of Darkness / data1.cab / Program_Executable_Files / Lib / Widgets / TextFXWidget.pyc (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2000-11-16  |  1.1 KB  |  23 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 1.5)
  3.  
  4. import BUIx
  5. import DistortFX
  6.  
  7. class B_TextFXWidget(BUIx.B_TextWidget):
  8.     
  9.     def __init__(self, Parent, name, text, font_server, font, dist_size = 45, color = (255, 10, 10)):
  10.         BUIx.B_TextWidget.__init__(self, Parent, name, text, font_server, font)
  11.         self.SetDrawFunc(self.Draw)
  12.         self.SetAlpha(1.0)
  13.  
  14.     
  15.     def SetText(self, text):
  16.         BUIx.B_TextWidget.SetText(self, text)
  17.         self.FilterUpdated = 0
  18.         self.SelectionFilterUpdated = 0
  19.         self.Filter = None
  20.         self.SelectionFilter = None
  21.  
  22.  
  23.